import * as AntDesignIconsVue from '@ant-design/icons-vue'
import 'ant-design-vue/dist/reset.css'
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

const app = createApp(App)

// 注册所有 Ant Design 图标组件
for (const [key, component] of Object.entries(AntDesignIconsVue)) {
  app.component(key, component)
}

app.use(store).use(router).mount('#app')
